Moved file access to cli module, setting up for using proplists module