moved and added FILEPATH var to config