mock for filesystem