adds simple file input directive