Use __FILENAME__ if defined