Separated srcdir and dstdir.
Makefile tweaks for testing.
added: BMP writing support.
Get rid of hostname.
Not limited to .txt.
Detects file extensions.