Allow disabling of file modification
Add trailing slashes for file serving if not specified