Text file crud reusing session functions.