If a file type is not supported, take it as plain text.