fixed file input sleep timer