moved header wrinting to filestorage.c