Enable extension for file and ftp protocols