v1.0.5, file.map instead of file.inspect() in helper functions