Html Input Type File Javascript Array Filter