file to prop