Change find plugin by file to use post