shared_ptrs for file locations