automatically changed the file attributes