passing in filepath