shorter ids for files & fixed delete issue