<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def removeFileSafely(filename,clobber=True):
 """ Delete the file specified, but only if it exists and clobber is True. """

    if filename is not None and filename.strip() != '':
        if os.path.exists(filename) and clobber: os.remove(filename)