Modified openFiles and finished mount/unmount