Add support to redirect output to STDOUT by default or using -out to redirect to a file
Prevent confirmation output if content is writing to STDOUT
Fix file struct type