Created new .cpp and .h files for filepath

May be expanded at later date