Handles multiple files by sending out the key