Update FileSystemSemaphore

Update FileSystemSemaphore with javadoc and exceptions on specific error situations