Store and read marks in textfile in home directory