Threading unfeasible, suggest writing and reading text file