Added encoding and filetype to prompt