revising file paths for subpages