syntax fix and file stream support