A file is stored in:

RAM

Hard disk

ROM

Cache