<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def file_created(self, filepath):
        ''' File created callback '''

        # Send the on-deck pcap to workbench
        if self.on_deck:
            self.store_file(self.on_deck)
            os.remove(self.on_deck)

        # Now put the newly created file on-deck
        self.on_deck = filepath