- Fixed file extension checking