change file input from id's to pointers; update character mappings; errors...