File management on hard drive