The document presents a forensic file system reconstruction algorithm designed to recover directory structures from partially damaged metadata in various file systems. It discusses the motivation for such reconstruction, the algorithm's implementation in software called 'recuperabit', and compares its performance against other similar tools. Results indicate that recuperabit successfully reconstructs file systems in all tested cases, often outperforming commercial software.