An image forming apparatus includes a storing section provided with a box
which stores an electronic document file, a first instruction accepting
section which accepts an instruction for deleting the electronic document
file stored in the box, a second instruction accepting section which
accepts an instruction other than the instruction for deleting the
electronic document file, a deleting processing section configured to
execute processing for deleting the electronic document file stored in
the box, when receiving the instruction for deleting the electronic
document file, from the first instruction accepting section, and a main
processing section configured to execute processing other than the
processing for deleting the electronic document file, in parallel with
the first deleting processing, when receiving the instruction other than
the instruction for deleting the electronic document file, from the
second instruction accepting section, while the deleting processing is
being executed by the first deleting processing section.