Fixed remove function to not throw a warning if the file does not exist