added directory and file
added requirements in docstring