small bug with unrecognised file types, fixed this bug.