need to come up with a better way to find the file location