Getting file and function name from console input.