Rework file_basics (incl. spec) to take/use arguments
Update spec & test file for file-writing-and-reading; complete file writing and reading methods; fix file writing method