s3: "dotareof" only looks at the file type