Use config for file extension