Close file streams.
Print error if file couldn't open.
Move Parallaldo, Image, Position declaration within case statemnt.