module file selection

add module function

refactor
Merge pull request #13 from amanattou44/depth/13

module file selection