added slash to end of path for setting file URL