Filehandling for non-shared filesystem