check filename and prj file