File not found & Cannot read property error