Fixed file not found bug