limited file input to images