Fixed case where "01.js" was not recognised as string ...
Fixed file checks