Change paths to support multiple fileformats