Options: p, r, w, d
Read file + option s
Uses command args
corrected output