remove unused __getdents, rename and move file