Move filesystem interaction to a separate file.
Rename variable for update script.