Tested, fixed file extension separator