Light refactoring
Added is_readable() guard to avoid errors in file_get_contents()