Add support for custom extensions and folders