Added filetype and encoding to prompt