Make the task list command use the getFilePath function