returning back to file writing