moved most of read_file_line's use to read_file_note and cleaned up
all properties from stamprc can now be given from environment, cleaned up