added file id to state