Split off FS functions into FSUtils