reset file attributes