added the 'file' form

added two LOC at #220 and #221