Google Chrome extension – download, move and delete files

I am trying o make app for my work (will be used only in my office) and among other things I need way to download file (it will be always one ODT and one txt document which will be initiated by clicking on button by user, on specific page – standard download) from our local server. Those two files are created on server and then sent to download to user which requested it, so that part is simple as any other web page which offers you download.

But after download is finished I need somehow:

1) automatically open ODT (openOffice writer) file, so user can continue editing it. What will happen next is not important…

2) automatically move TXT file to specific folder on users disk (this is needed because that specific folder is monitored by our special printer and whenever printer detects file in that folder it automatically starts printing). Setting default chrome download folder as that monitored folder is not options – so I NEED to move TXT file automatically after download to that monitored folder.

3) After first two actions are finished I need to clean default download folder (foldere where chrome downloads by default) because it would be full of those files and they are not needed anymore.

Now, it would be great if I could accomplish it just with javascript but as I know there is no way to manipulate files on local system without displaying dialog to user – so this is not option.

I figure it out that this part could be done by chrome extension, which is acceptable solution because this application will be used only in my office. But I am not sure how and if it is really possible to accomplish what I want so I need your help.

P.S.
It is important that after user click “Download” on page to download ODT and TXT file, there is no other windows, dialog and other “questions” by browser but everything after that should go automatically.

Thank you!