Implementing extraction from file names