added file saving routines to drive manager