allow relative file to the public directory