refactor code to use base class implementation

We really like the idea of a separate modules directory, thanks for showing the way. Based on your code, I would suggest the following code change in order to keep the required code short and to simplify maintenance. The only downside is an additional preg_match (as the same check is performed in Requirements_Backend#path_for_file).