Changed visibility of updateFile() from private to public