coercing strings to files