get file from ARG of from stdin
src agnostic code
refactor open_read to own module
refactor reading of local files to pose