keymap issue: add_file and add_directory

Hello!
Is it possible to merge add_file and add_directory in one instruction (something like "add_media")?
Thank you :-)

I'm sorry, it's ok on the svn version :-)