File utilities. Part of basic s3