Add check for doubly-added files

Ensure that files cannot be accidentally added twice, once via adding it to a job and once via adding it to the workflow as a while.