ensure file order is the same as in filesystem && let users upload the same file twice without reloading