Make the file into a function with osim file path and file name as input arguments
Make the file into a function with osim file path and file name as input arguments