allow for first arg to be file path