Fix #23 - strip all directories from filename, if there are any