Added several methods for file descriptors management