removed get_swap_file(); updated docstrings