removed unneccesary test for redudant file