Add support for setting custom file extensions