Fix to when the file is stored out of webroot