add ability to input own file