- check for file existence and if disc is filled, sending appropriate errors