Html Input Type File Javascript Array Find Method Javascript