Evaluate a mathematical expression and convert it from infix notation to prefix notation. The expression should be specified in a file that is passed as an argument to the application. If there are no variables in the expression, then the expression is evaluated to return the result of the operations.